package com.deng.codetemplate.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author 邓天天
 * @date 2021/4/27 20:47
 */
@Getter
@Setter
@TableName("user")
public class User {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "username")
    private String username;
    @TableField(value = "mobilenum")
    private String mobileNum;
    @TableField(value = "email")
    private String email;
    @TableField(value = "password")
    private String password;
    @TableField(value = "isdelete")
    private Integer isDelete;
    @TableField(value = "createtime")
    private Date createTime;
    @TableField(value = "updatetime")
    private Date updateTime;
}
